package com.lrabbit.msg;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class BaseResponse {

    @ApiModelProperty(value = "响应码")
    private String code = "00000";

    @ApiModelProperty(value = "响应信息")
    private String message = "success";

    public BaseResponse(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public BaseResponse() {
        super();
    }

}
